﻿using System.Collections;

namespace Nop.Web.Framework.Kendoui
{
    public class DataSourceResult
    {
        public object ExtraData { get; set; }

        public IEnumerable Data { get; set; }

        public object Errors { get; set; }

        public int Total { get; set; }
    }
    public class DataSourceResultAnt
    {
        public DataSourceResultAnt() {
            this.pagination = new PaginationModel();
        }
        public IEnumerable list { get; set; }
        public PaginationModel pagination { get;set;}
    }
    public class PaginationModel
    {
        public int total { get; set; }
        public int pageSize { get; set; }
        public int current { get; set; }
    }
}
